// import { request } from "@/utils/request";

// TODO:从后台获取学生数据
// export const getStudentList = () => request<any, any>({
//   url: '/student/list',
//   method: 'get',
// })

// 模拟数据
export const getStudentList = () => {
    const students: IStudent[] = [
        {id: '1', name: '张三', age: 18},
        {id: '2', name: '李四', age: 19},
        {id: '3', name: '王五', age: 20},
        {id: '4', name: '赵六', age: 21},
        {id: '5', name: '钱七', age: 22},
        {id: '6', name: '孙八', age: 23},
        {id: '7', name: '周九', age: 24},
        {id: '8', name: '吴十', age: 25},
        {id: '9', name: '郑十一', age: 26},
        {id: '10', name: '王十二', age: 27},
        {id: '11', name: '李十三', age: 28},
        {id: '12', name: '赵十四', age: 29},
        {id: '13', name: '孙十五', age: 30},
        {id: '14', name: '周十六', age: 31},
        {id: '15', name: '吴十七', age: 32},
        {id: '16', name: '郑十八', age: 33},
        {id: '17', name: '王十九', age: 34},
        {id: '18', name: '李二十', age: 35},
    ]
    return {
        code: 200,
        data: students,
        message: 'success'
    }
}

